
#ifndef XmlServer_H
#define XmlServer_H

#include "XmlRpc.h"
#include "Server.h"
#include "Runnable.h"

#include <string>
#include <algorithm>

class MsgReceive;


class XmlServer :public Runnable {
public :
    XmlServer(int port);
    ~XmlServer();
    MsgReceive* getItsMsgReceive() const;
    void setItsMsgReceive(MsgReceive* p_MsgReceive);
	void run();
XmlRpc::XmlRpcServer xmlServ; 
protected :
    void cleanUpRelations();
	
	
	int port;
    MsgReceive* itsMsgReceive;		
};

#endif
/*********************************************************************
	File Path	: DefaultComponent\DefaultConfig\XmlServer.h
*********************************************************************/
